package com.example.good.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("users_roles")
public class UserRolesDO implements Serializable {

    private static final long serialVersionUID = 1L;
    
    /**
     * 表主键
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    
    private Long rolesId;
    
    private Long usersId;
}
